<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="DossierMedicalViewDlg" widgetVar="DossierMedicalViewDialog" modal="true" resizable="false" appendToBody="true" header="#{bundle.ViewDossierMedicalTitle}">

            <h:form id="DossierMedicalViewForm">

                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{dossierMedicalController.selected != null}">

                        <h:outputText value="#{bundle.ViewDossierMedicalLabel_idDossier}"/>
                        <h:outputText value="#{dossierMedicalController.selected.idDossier}" title="#{bundle.ViewDossierMedicalTitle_idDossier}"/>

                        <h:outputText value="#{bundle.ViewDossierMedicalLabel_identite}"/>
                        <h:outputText value="#{dossierMedicalController.selected.identite}" title="#{bundle.ViewDossierMedicalTitle_identite}"/>

                        <h:outputText value="#{bundle.ViewDossierMedicalLabel_dateDossier}"/>
                        <h:outputText value="#{dossierMedicalController.selected.dateDossier}" title="#{bundle.ViewDossierMedicalTitle_dateDossier}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>

                        <h:outputText value="#{bundle.ViewDossierMedicalLabel_histoireMaladie}"/>
                        <h:outputText value="#{dossierMedicalController.selected.histoireMaladie}" title="#{bundle.ViewDossierMedicalTitle_histoireMaladie}"/>

                        <h:outputText value="#{bundle.ViewDossierMedicalLabel_conclusionClinique}"/>
                        <h:outputText value="#{dossierMedicalController.selected.conclusionClinique}" title="#{bundle.ViewDossierMedicalTitle_conclusionClinique}"/>

                        <h:outputText value="#{bundle.ViewDossierMedicalLabel_idPersonne}"/>
                        <h:outputText value="#{dossierMedicalController.selected.idPersonne.idPersonne}"/>

                        <h:outputText value="#{bundle.ViewDossierMedicalLabel_orientationCollection}"/>

                        <h:outputText value="#{bundle.ViewDossierMedicalLabel_suiviCollection}"/>

                        <h:outputText value="#{bundle.ViewDossierMedicalLabel_bilanCollection}"/>

                        <h:outputText value="#{bundle.ViewDossierMedicalLabel_atcdCollection}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{bundle.Close}" onclick="DossierMedicalViewDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
